package nc.vo.acm.flu.billrefaction;

import java.io.Serializable;
import java.util.Map;

import nc.ui.pub.bill.IBillObject;

public class MsgBillObject implements Serializable, IBillObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1L;
	
	private Map valueOfEditor = null;
	
	public int compareTo(Object o) {
		if(getValueOfEditor().equals(o)){
			return EQUAL_OPTION;
		}
		return LESSTHAN_OPTION;
	}

	public Map getValueOfEditor() {
		return valueOfEditor;
	}

	public void setValueOfEditor(Map valueOfEditor) {
		this.valueOfEditor = valueOfEditor;
	}
	
	@Override
	public String toString() {
		return getValueOfEditor().toString();
	}

}
